<?php
       	  if($_SESSION['per']==3 ||$_SESSION['per']==2){
					   exit();
				 }
        $xcrud = Xcrud::get_instance();
        $xcrud->table('user_group');
              // hide fields
        //$xcrud->fields('avatar,ngaysinh', true);
              // hide columns
        //  $xcrud->columns('password',true);
      
      
      //------- GRIDVIEW MODE ---------
      

              
    
        $xcrud->unset_csv();
        $xcrud->unset_print();

        $xcrud->theme('bootstrap');
       $xcrud->table_name('User Group Management');
	   	 $xcrud->show_primary_ai_column(true);
        
        echo $xcrud->render();

?>
